﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace JU.MODEL
{
    public class GoodsComment
    {
        /// <summary>
        /// 用户评论列表Id。自增，起始值为1，增长值为1
        /// </summary>		
        private int _goodscommentid;
        public int GoodsCommentId
        {
            get { return _goodscommentid; }
            set { _goodscommentid = value; }
        }

        /// <summary>
        /// 用户Id
        /// </summary>		
        private int _userid;
        public int UserId
        {
            get { return _userid; }
            set { _userid = value; }
        }

        /// <summary>
        /// 商品Id
        /// </summary>		
        private int _goodsid;
        public int GoodsId
        {
            get { return _goodsid; }
            set { _goodsid = value; }
        }

        /// <summary>
        /// 总评等级，1-5
        /// </summary>		
        private int _overallrating;
        public int OverallRating
        {
            get { return _overallrating; }
            set { _overallrating = value; }
        }

        /// <summary>
        /// 用户评价
        /// </summary>		
        private string _comment;
        public string Comment
        {
            get { return _comment; }
            set { _comment = value; }
        }

        /// <summary>
        /// 是否删除，默认为0，意为未删除
        /// </summary>		
        private bool _isdel;
        public bool IsDel
        {
            get { return _isdel; }
            set { _isdel = value; }
        }
    }
}
